﻿using Prism.Mvvm;

namespace NoteBook_Product.Models
{
    /// <summary>
    /// 菜单
    /// </summary>
    public class MenuBar : BindableBase
    {
        public MenuBar() { }

        public MenuBar(string? icon, string? title, string? @namespace)
        {
            Icon = icon;
            Title = title;
            Namespace = @namespace;
        }



        /// <summary>
        /// 图标
        /// </summary>
        private string? icon;

        public string? Icon
        {
            get { return icon; }
            set { icon = value; RaisePropertyChanged(); }
        }

        /// <summary>
        /// 标题
        /// </summary>
        private string? title;

        public string? Title
        {
            get { return title; }
            set { title = value; RaisePropertyChanged(); }
        }

        /// <summary>
        /// 命名空间
        /// </summary>
        private string? nameSpace;

        public string? Namespace
        {
            get { return nameSpace; }
            set { nameSpace = value; RaisePropertyChanged(); }
        }

    }
}
